<?php
/**
 * 用户控制器
 * Created by  你老板
 * User: 你老板
 * Date: 2018/11/10
 * Time: 下午 5:10
 */
namespace app\home\controller;
use think\Controller;
use think\Request;
use \think\Db;
use app\admin\lib\Tree;
use app\admin\lib\Detail;
use app\pay\model\Pay as PayModel;
class Order extends Controller{
	public function _initialize() {
	}
   //首页查询品牌
	public function addorder(){
    // $db = Db::name('product_class');
		  // dump($list);
    // echo json_encode($list);
	}
	//支付
	public  function pay(){
		$payment =  PayModel::payment();
		// dump($payment);die;
		return api_return(10001,$payment);
	}


}
